﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.ComponentModel;
using DuckEntities;
using DuckClient.ViewModel;

namespace DuckClient
{
    public partial class RaftPage : ChildWindow
    {
        public RaftPage(List<RAFT> rafts, DuckViewModel dvm)
        {
            InitializeComponent();
            
            this.DataContext = new RaftPageViewModel(rafts, dvm, this);
                        
            this.Show();
        }
    }
}

